﻿<Window x:Class="FM.录音.Views.主窗口"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:fm="clr-namespace:FM;assembly=FM"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:prism="http://www.codeplex.com/CompositeWPF"
        xmlns:viewModels="clr-namespace:FM.录音.ViewModels"
        Title="{Binding 标题}"
        Width="300"
        Height="300"
        PreviewKeyDown="Window_PreviewKeyDown"
        WindowStartupLocation="CenterScreen"
        d:DataContext="{d:DesignInstance {x:Type viewModels:主窗口ViewModel}}"
        mc:Ignorable="d">

    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition Width="*" />
            <ColumnDefinition Width="Auto" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <ContentControl Grid.Row="0"
                        Grid.Column="0"
                        Grid.ColumnSpan="3"
                        prism:RegionManager.RegionName="{x:Static fm:布局位置.上}" />

        <ContentControl Grid.Row="1"
                        Grid.Column="0"
                        prism:RegionManager.RegionName="{x:Static fm:布局位置.左}" />
        <ContentControl Grid.Row="1"
                        Grid.Column="1"
                        prism:RegionManager.RegionName="{x:Static fm:布局位置.中}" />
        <ContentControl Grid.Row="1"
                        Grid.Column="2"
                        prism:RegionManager.RegionName="{x:Static fm:布局位置.右}" />

        <ContentControl Grid.Row="2"
                        Grid.Column="0"
                        Grid.ColumnSpan="3"
                        prism:RegionManager.RegionName="{x:Static fm:布局位置.下}" />
    </Grid>


</Window>
